<tagLib name="preem" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <title><preem:category id=".id" field="fullname"/>&nbsp;&nbsp;{&site_name}教工之家</title>
        <link rel="stylesheet" type="text/css" href="__TMPL__reset.css"/>
        <link rel="stylesheet" type="text/css" href="{$TplPath}/css/index.css"/>
		<script type="text/javascript" src="__TMPL__v.js"></script>
        <script type="text/javascript">
            DD_roundies.addRule('.rounded', '8px', true);
            DD_roundies.addRule('#commands', '0 0 8px 8px', true);
            DD_roundies.addRule('#head', '0 0 10px 10px', true);
        </script>
	</head>
	<body>
        <div id="container" class="clearfix">
            {:get_var('Head_Gh')}
			<div id="position">
                <a href="__URL__/index.html">{&site_name}教工之家</a><preem:category field="ancestor" format="<a href='__URL__/category/id/#id#.html'>#typename#</a>∈"/><a href="__URL__/category/id/<preem:category field='id' />.html"><preem:category field="typename" /></a>
            </div>
			<script type="text/javascript">
				var posObj=document.getElementById("position");
				var as=posObj.getElementsByTagName("a");
				posObj.removeChild(as[1]);
			</script>
            <div id="content" class="rounded clearfix">
				<div id="left">
					<h5 class="rounded">文章列表</h5>
					<div id="arclist">
						<preem:arclist id="vo" category=".id" cascade="100" rows="12" pagevar="po">
						<div class="arcItem">
							<div class="title">
								<div class="pubdate">{$vo['pubdate']|parseDatetime='Y-m-d H:i',###}</div>
								<div>
									<a href="__URL__/category/id/{$vo['category']}.html">[{$vo['typename']}]</a>
									<a href="__URL__/view/id/{$vo['id']}.html" class="tip">{$vo['title']}</a>
								</div>
							</div>
							<p class="summary">{$vo['summary']}...<a href="__URL__/view/id/{$vo['id']}.html">[详细]</a></p>
						</div>
						</preem:arclist>
					</div>
					<div id="pagebreak" class="rounded">
						<preem:pagebreak name="po"/>
					</div>
				</div>
				<div id="right">
					<h5 class="roundedHalf">相关栏目</h5>
					<ul>
						<preem:category field="brother" format="<li><a href='__URL__/category/id/#id#.html'>#typename#</a></li>"/>
					</ul>
				</div>
            </div>
            <div id="copyright">
                <p><b>{&site_name}</b><b>版权所有</b><b><a target="_blank" href="__APP__/Public/login.html">网站管理</a></b></p>
                <p>copyright&copy;2009,school of Mechanical Engineering and Automation,All Rights Reserved</p>
            </div>
        </div>
	</body>
</html>